﻿using System;
using System.Diagnostics;
using System.Diagnostics.Eventing.Reader;

namespace Niknak.Services.ServiceCore
{
    public interface IExceptionHandler
    {
        string CustomEventLogName { get; }
        void ExceptionLogEntry(Exception ex);
        void WriteToEventLog(string message, EventLogEntryType entryType, int eventId);
        EventRecord[] ReadFromEventLog(string logName, int[] logLevels, string providerName, DateTime afterTimestamp, DateTime beforeTimestamp, int skip, int take);
    }
}
